import { BANNER, FOOTER_LOGO, HOME_DESCRIPTION, HOME_DESCRIPTION_EN, LOGO, TITLE } from '@/config'

//默认站点设置
export type SiteContent = 'zh' | 'en'
type SiteSettingObject = Record<string, string | null>
export type SiteSetting = {
  logo: any
  logo_description: SiteSettingObject
  foot_logo: any
  copyright: SiteSettingObject[]
  help_content: string
  head_tag: SiteSettingObject
  title: SiteSettingObject
  banner: string[]
  extends: Record<string, unknown>
  description: SiteSettingObject
  copyright_login:SiteSettingObject[]
}
export type ReturnSiteSetting = SiteSetting

const siteSettings: SiteSetting = {
  logo: LOGO, //站点logo
  logo_description: {
    en: TITLE || null,
    zh: TITLE || null
  }, //站点logo下面的描述文字
  foot_logo: FOOTER_LOGO, //底部logo
  copyright: [
    // {
    //   zh: '翰海睿智混合云平台',
    //   en: 'Wiselnsight Hybrid Cloud Platform'
    // },
    {
      zh: '© 2023 重庆翰海睿智大数据科技股份有限公司 版权所有',
      en: '© 2023 Chongqing Hanhai Ruizhi Big Data Technology Co., Ltd. All rights reserved.'
    },
    {
      zh: '渝ICP备18010230号',
      en: 'Chongqing ICP No. 18010230'
    }
  ],
  copyright_login: [
    // {
    //   zh: '翰海睿智混合云平台',
    //   en: 'Wiselnsight Hybrid Cloud Platform'
    // },
    {
      zh: '© 2023 重庆翰海睿智大数据科技股份有限公司 版权所有',
      en: '© 2023 Chongqing Hanhai Ruizhi Big Data Technology Co., Ltd. All rights reserved.'
    },
    {
      zh: 'Amazoa Web services inc. © 2023',
      en: 'Amazoa Web services inc. © 2023'
    }
  ],
  help_content: '', //帮助文档路径md文件
  head_tag: {
    zh: HOME_DESCRIPTION,
    en: HOME_DESCRIPTION_EN
  }, //浏览器标签文字
  title: { zh: '翰海睿智混合云平台', en: 'Wiselnsight Hybrid Cloud Platform' }, //首页标题
  description: { zh: '', en: '' }, //首页描述
  banner: [BANNER],
  extends: {} //留空备用
}

export { siteSettings }
